import Vue from 'vue'
import Vuex from 'vuex'
import persistence from 'vuex-uniapp-persistence'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    test: '测试'
  },
  plugins: [persistence()]
})

export default store
